//
//  JSUsedWLCell.swift
//  fho
//
//  Created by 郭颢源 on 2021/5/29.
//

import UIKit

class JSUsedWLCell: UICollectionViewCell {
    
    lazy var titleLabel: UILabel = {
        var _titleLabel = UILabel()
        _titleLabel.textAlignment = .center
        _titleLabel.layer.borderWidth = 0.5
        _titleLabel.layer.borderColor = UIColor.systemGray4.cgColor
        _titleLabel.layer.cornerRadius = 3.0
        _titleLabel.layer.masksToBounds = true
        return _titleLabel
    }()
    override init(frame: CGRect) {
        super.init(frame: frame)
        contentView.backgroundColor = .white
    
        contentView.addSubview(titleLabel)

        titleLabel.snp.makeConstraints { (make) in
            make.edges.equalToSuperview().inset(UIEdgeInsets(top: 5, left: 5, bottom: 5, right: 5))
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
